The Debug Object can send output to a script debugger, such as the Windows Script Debugger.
Write Method
WriteLine Method